<?php
session_start();
require_once("./include/membersite_config.php");
switch($_POST['command'])
{
case 'sign-up':
	$fgmembersite->Quick_Sign_Up_Form_Handler();
break;
case 'register-group':
	$fgmembersite->Quick_Register_New_Group_Form_Handler();
break;
case 'edit-group':
	$fgmembersite->Quick_Register_Edit_Group_Form_Handler();
break;
}

$error = array(
    'error'     => $fgmembersite->GetError()
);

die (json_encode($error));
?>
